<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <table border="1">
        <tr>
        <td>张三</td>
        <td>男</td>
        <td>未婚</td>
        </tr>
        <tr>
        <td>李四</td>
        <td>女</td>
        <td>已婚</td>
        </tr>
        </table>  
        <table border="1" style="width:300px;">
            <tr>
            <th>姓名</th>
            <th>性别</th>
            <th>婚姻</th>
            </tr>
            <tr>
            <td>张三</td>
            <td>男</td>
            <td>未婚</td>
            </tr>
            <tr>
            <td>李四</td>
            <td>女</td>
            <td>已婚</td>
            </tr>
        </table>
        <thead>
            <tr>
            <th>姓名</th>
            <th>性别</th>
            <th>婚姻</th>
            </tr>
            </thead>
            <tfoot>
                <tr>
                <td colspan="3">统计：共两名</td>
                </tr>
                </tfoot>
                <tbody>
                    <tr>
                    <td>张三</td>
                    <td>男</td>
                    <td>未婚</td>
                    </tr>
                    <tr>
                    <td>李四</td>
                    <td>女</td>
                    <td>已婚</td>
                    </tr>
                    </tbody>
                    <caption>这是一个人物表</caption>
                    <colgroup span="2" style="background:red;"></colgroup>
                    <!-- <colgroup>
                        <col style="background-color: red;"span="1">
                    </colgroup> -->
                    <colgroup>
                        <col>
                        <col style="background:red;" span="1">
                        </colgroup>

</body>
</html>